{{#each menu.psAppMenuItems as |item|}}
{
  text: '{{item.caption}}',
  {{#and item.psAppFunc.psAppView.psAppModule.codeName item.psAppFunc.psAppView.codeName}}
  link: '/function-list/publish/views/{{spinalCase item.psAppFunc.psAppView.psAppModule.codeName}}/{{spinalCase item.psAppFunc.psAppView.codeName}}/{{spinalCase item.psAppFunc.psAppView.codeName}}.md',
  {{/and}}
  {{#if item.psAppMenuItems}}
  items: [
  {{> @macro/common/appMenu.hbs menu=item}}
  ]
  {{/if}}   
},
{{/each}}